package org.dxy.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Trip {

    //车次 ID
    private Long trip_id;

    //出发地
    private String departure;

    //目的地
    private String destination;

    //出发时间
    private LocalDateTime departureTime;

    //到达时间
    private LocalDateTime arrivalTime;

    //总座位数
    private int seatCount;

    //票价
    private BigDecimal price;
}